package com.sskj.common.enums;

import lombok.Getter;

@Getter
public enum DeviceMessageTypeEnum {

    HEARTBEAT_CHECK(1, "心跳检测"),
    REGISTER(2, "设备注册"),
    OFFLINE(99, "离线");

    private final Integer type;

    private final String message;

    DeviceMessageTypeEnum(Integer type, String message) {
        this.type = type;
        this.message = message;
    }
}
